package com.daisuxia.back.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.daisuxia.back.dao.IRiskCreditUsrDao;
import com.daisuxia.risk.pojo.RiskCreditUser;
import com.daisuxia.risk.pojo.RiskRuleCal;


@Service("riskUserService")
public class RiskUserService implements IRiskUserService {
	
	@Autowired
	IRiskCreditUsrDao riskCreditUsrDao;

	public RiskCreditUser findRiskCreditUserByAssetsId(String assetsId) {
		return riskCreditUsrDao.findByAssetsId(assetsId);
	}

	public List<RiskRuleCal> findRiskRuleCalByAssetsId(String assetsId) {
		return riskCreditUsrDao.findRiskRuleCalByAssetsId(assetsId);
	}
}
